'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const collection = db.collection('opendb-mall-categories')
	// const offPage=(event.page*event.size)-event.size
	const res = await collection.limit(10).get()
	return res
};
